package com.policyCloud.policyOauth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

@SpringBootApplication
@EnableAuthorizationServer
@EnableEurekaClient
@MapperScan("com.policyCloud.policyOauth.dao")
@EnableFeignClients
public class PolicyOauthApplication {

	public static void main(String[] args) {
		SpringApplication.run(PolicyOauthApplication.class, args);
	}

}
